package com.yfqy.app.modules.order.dto;

import com.yfqy.app.enums.CancelType;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 订单cancel请求
 */
@Data
public class OrderCancelRequest {
    /**
     * orderId
     */
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    /**
     * 取消原因
     */
    private String cancelReason = "";

    /**
     * 取消类型
     */
    private CancelType cancelType;

}
